package com.zkthink.ceres.applet.order.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author cmz
 * @Date 2024-05-11 14:11
 */
@Data
public class OrderListVo {
    /**
     * 订单表
     */
    @ApiModelProperty(value = "订单id")
    private Long id;
    
    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String orderCode;

    @ApiModelProperty(value = "服务/产品id")
    private Long serverId;
    /**
     * 服务/产品名称
     */
    @ApiModelProperty(value = "服务/产品名称")
    private String serverName;

    private String expressNo;

    /**
     * 服务/产品图片
     */
    @ApiModelProperty(value = "服务/产品图片")
    private String serverImg;

    /**
     * 支付状态
     */
    @ApiModelProperty(value = "支付状态")
    private Integer payStatus;
    
    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    /**
     * 订单状态名称
     */
    @ApiModelProperty(value = "订单状态名称")
    private String orderStatusName;
    
    /**
     * 支付金额
     */
    @ApiModelProperty(value = "支付金额")
    private BigDecimal paySum;

    /**
     * 下单时间
     */
    @ApiModelProperty(value = "下单时间")
    private Date createTime;

    /**
     * 订单类型：服务-0/产品-1
     */
    @ApiModelProperty(value = "订单类型：服务-0/产品-1")
    private Integer orderType;

    //@ApiModelProperty(value = "地址id 用户的地址信息(快递配送需要该值)")
    @ApiModelProperty(value = "地址id")
    private Long addressId;

    @ApiModelProperty(value = "用户id")
    private Long mid;

    @ApiModelProperty(value = "会员昵称")
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    private String headimg;

    @ApiModelProperty(value = "服务订单商家状态（0：无 1确认 2.核销 3.测评）")
    private Integer serverOrderStatus = 0;
}
